<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
  
    	echo "8888888888";

    }


    public function out()
    {
    	// echo "这是一个home里面的out方法";
    	$res=M('stu')->where('sex="男"')->select();
    	var_dump($res);
    	$name=array('b'=>'sfsd');
    	$this->assign('abc',$name);
    	$this->display('abd');
    	$this->a();


    }

    public function a()
    {	
    	var_dump($name);
    }






}